/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MYData.Entity.SystemModels;

namespace MYData.Entity.DomainModels
{
    [Table("tb_project_declaremessage")]
    [Entity(TableCnName = " 申报通知表", TableName = "tb_project_declaremessage")]
    public partial class tb_project_declaremessage : BaseEntity
    {
        /// <summary>
        ///申报通知ID
        /// </summary>
        [Key]
        [Display(Name = "申报通知ID")]
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string id { get; set; } = Guid.NewGuid().ToString();

        /// <summary>
        ///通知名称
        /// </summary>
        [Display(Name = "通知名称")]
        [MaxLength(200)]
        [Column(TypeName = "nvarchar(200)")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string informName { get; set; }




        /// <summary>
        ///通知类型
        /// </summary>
        [Display(Name = "字典外键ID")]
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        [Editable(true)]
        public string DicList_ID { get; set; }


        [Display(Name = "项目类型ID")]
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string projecttdiclistId { get; set; }


        [Display(Name = "项目级别ID")]
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string projectrankdiclistId { get; set; }

        [Display(Name = "项目来源单位ID")]
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string projectsourcerunkId { get; set; }


        [Display(Name = "项目类别ID")]
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string projectclassDiclassID { get; set; }





        /// <summary>
        ///申报代码
        /// </summary>
        [Display(Name = "申报代码")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        [Editable(true)]
        public string? declareCode { get; set; }




        /// <summary>
        ///申报日期
        /// </summary>
        [Display(Name = "申报日期")]
        [Column(TypeName = "datetime")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public DateTime createTime { get; set; }

        /// <summary>
        ///申报起始时间
        /// </summary>
        [Display(Name = "申报起始时间")]
        [Column(TypeName = "datetime")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public DateTime startDate { get; set; }

        /// <summary>
        ///申报截止时间
        /// </summary>
        [Display(Name = "申报截止时间")]
        [Column(TypeName = "datetime")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public DateTime endDate { get; set; }

        /// <summary>
        ///审核状态
        /// </summary>
        [Display(Name = "审核状态")]
        [Column(TypeName = "int")]
        [Editable(true)]
        public int? auditStatus { get; set; }

        /// <summary>
        ///审核时间
        /// </summary>
        [Display(Name = "审核时间")]
        [Column(TypeName = "datetime")]
        [Editable(true)]
        public DateTime auditDate { get; set; }

        /// <summary>
        ///审核人
        /// </summary>
        [Display(Name = "审核人")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        [Editable(true)]
        public string? auditor { get; set; }

        /// <summary>
        ///审核人ID
        /// </summary>
        [Display(Name = "审核人ID")]
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        [Editable(true)]
        public string? auditorId { get; set; }

        /// <summary>
        ///申请通报说明
        /// </summary>
        [Display(Name = "申请通报说明")]
        [MaxLength(2000)]
        [Column(TypeName = "nvarchar(2000)")]
        [Editable(true)]
        public string informContent { get; set; }

        /// <summary>
        ///修改人ID
        /// </summary>
        [Display(Name = "修改人ID")]
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        [Editable(true)]
        public string? modifyId { get; set; }

        /// <summary>
        ///修改人名称
        /// </summary>
        [Display(Name = "修改人名称")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        [Editable(true)]
        public string modifier { get; set; }

        /// <summary>
        ///创建人ID
        /// </summary>
        [Display(Name = "创建人ID")]
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        [Editable(true)]
        public string createID { get; set; }

        /// <summary>
        ///创建人
        /// </summary>
        [Display(Name = "创建人")]
        [MaxLength(20)]
        [Column(TypeName = "nvarchar(20)")]
        [Editable(true)]
        public string? creator { get; set; }

        /// <summary>
        ///创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        [Column(TypeName = "datetime")]
        [Editable(true)]
        public DateTime createDate { get; set; }

        /// <summary>
        ///修改时间
        /// </summary>
        [Display(Name = "修改时间")]
        [Column(TypeName = "datetime")]
        [Editable(true)]
        public DateTime modifyDate { get; set; }

        /// <summary>
        ///软删除
        /// </summary>
        [Display(Name = "软删除")]
        [Column(TypeName = "int")]
        [Editable(true)]
        public int? isDel { get; set; } = 0;

        /// <summary>
        ///接收者类型ID
        /// </summary>
        [Display(Name = "接收者类型ID")]
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string? receType_Id { get; set; }


    }
}